
<link rel="stylesheet" href="/stylesheets/ease/ease.css">

<div id="orders-header" class="header1-wrapper bc">
    <div class="header1 rela bc1 white">
        <div class="title txtc white">订单车辆</div>
        <a class="btn-back white" href="#/tab/myOrders/orderdetail" >
            <i class="icon-icon-07"></i>
        </a>
    </div>
</div>
<div id="wrapper" style="background: #eee;"><div id="scroller">
    <div class="order-cars" style="padding:12px 16px;">
        <div class="con1 bc3 light" style="padding:0 5px ;margin-bottom: 15px; border-radius: 5px 5px 0 0;">
            <div class=" dark lh" style=" padding:12px 0;">
                <i class="icon-icon-17" style="color: #333333;"></i>&nbsp;订单&nbsp;&nbsp;&nbsp;&nbsp;{{order.orderno}}
            </div>
            <div class="con-line">
                {{order.type==1?'零散车辆':'整板车辆'}}
            </div>
            <div class="con-line">
                {{orderCount}}&nbsp;&nbsp;发往&nbsp;{{order.endstation}}
            </div>
        </div>
        <div class="con2" style="">
            <div class="rela" ng-if="order.type==1">
                <div style="position: absolute;z-index:-1;width:100%;height:36px;background: #666;border-radius: 5px 5px 0 0;"></div>
                <table cellspacing="0"  class=" light" width="100%" >
                    <tr class="white" style="">
                        <td width="37%">品牌</td>
                        <td width="37%">型号</td>
                        <td>数量</td>
                    </tr>
                    <tr class="bc3" ng-class="{odd:$index%2}" ng-repeat="car in order.cars">
                        <td>{{car.brand}}</td>
                        <td>{{car.type}}</td>
                        <td>{{car.num}}</td>
                    </tr>
                </table>
            </div>
            <div class="rela" ng-if="order.type==2">
                <div style="position: absolute;z-index:-1;width:100%;height:40px;background: #666;border-radius: 5px 5px 0 0;"></div>
                <table cellspacing="0"  class=" light" width="100%" >
                    <tr class="white" style="">
                        <th width="60%">板型</th>
                        <th>数量</th>
                    </tr>
                    <tr class="bc3" ng-class="{odd:$index%2}" ng-repeat="type in types">

                        <td>{{type.type}}</td>
                        <td>{{type.num}}</td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</div></div>